/*
CREATE TABLE "base_list_de_standard" (
  "sequence_nbr" varchar PRIMARY KEY NOT NULL,
  "name" varchar,
  "area_id" varchar,
  "type" varchar,
  "release_year" varchar,
  "rec_user_code" varchar,
  "rec_status" varchar DEFAULT ( 'A' ),
  "rec_date" varchar,
  "extend1" varchar,
  "extend2" varchar,
  "extend3" varchar,
"description" varchar
);
*/

use rbatis::crud;
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct BaseListDeStandard {
    pub sequence_nbr: String,
    pub name: Option<String>,
    pub area_id: Option<String>,
    pub r#type: Option<String>,
    pub release_year: Option<String>,
    pub rec_user_code: Option<String>,
    pub rec_status: Option<String>,
    pub rec_date: Option<String>,
    pub extend1: Option<String>,
    pub extend2: Option<String>,
    pub extend3: Option<String>,
    pub description: Option<String>,
}
crud!(BaseListDeStandard {}, "base_list_de_standard");
